 package com.bbcare.comm;
 
 import java.util.List;
 
 
 public class QueryModel<T>
 {
   private boolean success;
   private List<T> rows;
   private Integer total;
   
   public QueryModel(List<T> rows, Integer tatol)
   {
     this.success = true;
     this.rows = rows;
     this.total = tatol;
   }
   
   public boolean isSuccess() {
    return this.success;
   }
   
   public List<T> getRows() {
    return this.rows;
   }
   
   public Integer getTotal() {
   return this.total;
   }
 }


